#include <iostream>
#include "../Util/Compresor/Compresor.h"
#include "../Util/Compresor/Arithmetic/Dynamic/DynamicArithmeticCompresor.h"

using namespace std;

class TestCompressor {

	Compresor *compressor;

public:

	void Setup() {
		this->compressor = new DynamicArithmeticCompresor();
	}

	void Terminar() {
		delete this->compressor;
		cout << "El test de TestCompressor se completó" << endl;
	}

	void compressSomething(){

		unsigned int long numero = (~0);

		cout << "el numero es " << numero << endl;

		this->compressor->setStringToCompress("Nicolas is Testing...");
		this->compressor->doCompress();
	}

	void Run() {
		Setup();
		compressSomething();
		Terminar();
	}

};
